//
//  SEGCustomSecletViewController.h
//  Uhomebk
//
//  Created by liangxinqiang on 15/12/14.
//  Copyright © 2015年 com.segi. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol CustomSecletDelegate<NSObject>;

-(void)selectedData:(id)data;

@end

@interface SEGCustomSecletViewController : UIViewController <UITableViewDataSource,UITableViewDelegate>

@property(nonatomic,strong) UITableView *tableView;

@property(nonatomic,strong)NSArray *dataArray;

@property(nonatomic,strong)NSString *textKey;//cell中显示的字段名称

@property(nonatomic,strong)NSString *detailTextKey;//cell中显示的字段名称

@property(nonatomic,strong)NSString *url;//请求地址

@property(nonatomic,assign)id <CustomSecletDelegate> selectDelegate;

@property(nonatomic,strong)NSString *titleName;//cell中显示的字段名称


@end
